package com.lcx.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;
@Component
@Data
@TableName(value = "usercinema")
public class UserCinema {
  @TableId(value = "usercinema_id",type = IdType.INPUT)
  private long userCinemaId;
  @TableField("user_id")
  private long userId;
  @TableField("cinema_id")
  private long cinemaId;

  @TableField("usercinema_status")
  private int usercinemaStatus;

  @TableField("user_name")
  private String userName;
  @TableField("cinema_name")
  private String cinemaName;
}
